package com.paic.mhis.hcpms.workingArea.intergration.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.workingArea.intergration.dao.AuditWorkingAreaDAO;
import com.paic.pafa.biz.dao.BaseDAO;

/**
 * 
 * @author EX-XIEQI001
 *
 */

@Component("auditWorkingAreaDao")
public class AuditWorkingAreaDaoImpl extends BaseDAO implements AuditWorkingAreaDAO{

	@Override
	public List<Map<String, Object>> queryProblemTaskList(Map<String, Object> map) {
		List<Map<String, Object>> list = (List<Map<String, Object>>)this._list("workingArea.queryProblemTaskList", map);
		return list;
	}

	@Override
	public int queryProblemTaskListCount(Map<String, Object> map) {
		return this._getInt("workingArea.queryProblemTaskListCount", map);
	}

	@Override
	public List<Map<String, Object>> queryCaseTaskList(Map<String, Object> map) {
		return (List<Map<String, Object>>)this._list("workingArea.queryCaseTaskList", map);
	}

	@Override
	public int queryCaseTaskListCount(Map<String, Object> map) {
		return this._getInt("workingArea.queryCaseTaskListCount", map);
	}

	@Override
	public List<Map> getQuestionCount(Map<String, Object> map) {
		return (List<Map>) this._list("workingArea.getQuestionCount", map);
	}

	@Override
	public List<Map> getCaseCount(Map<String, Object> map) {
		return (List<Map>) this._list("workingArea.getCaseCount", map);
	}

	@Override
	public List<Map> getQuestionProvider(Map<String, Object> map) {
		return (List<Map>) this._list("workingArea.getQuestionProvider", map);
	}

}
